<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>问答系统</title>
	<meta name="keywords" content="问答系统"/>
	<meta name="description" content="问答系统"/>
	<link rel="stylesheet" href="{HD $smarty.const.__PUBLIC__}/Css/common.css" />
	<script type="text/javascript" src='{HD $smarty.const.__PUBLIC__}/Js/jquery-1.7.2.min.js'></script>
	<link rel="stylesheet" href="{HD $smarty.const.__PUBLIC__}/Css/index.css" />
</head>
<body>
	<!-- 搜索顶部 -->
	<div class="search_top">
		<div class="sealeft">
			<a href="{HD $smarty.const.__ROOT__}"><img src="{HD $smarty.const.__PUBLIC__}/images/t0150f9b7bd1b41d84e.png" alt="" /></a>
			<a href="{HD $smarty.const.__ROOT__}">问答首页</a>
			<a href="{HD $smarty.const.__ROOT__}">问答首页</a>
		</div>

	</div>
	<!-- 搜索顶部结束 -->
	<!-- 搜索框 -->
	<div class="search_box">
	<form action="{HD $smarty.const.__ROOT__}?m=search" method="post">
		<input type="text" name="search" class="searchInput"/>
		<input type="submit" value="搜索答案" class="sub"/>
		</form>
		<a href="{HD $smarty.const.__ROOT__}?c=ask">我要提问</a>
	</div>
	<!-- 搜索框结束 -->
	<!-- 搜索内容 -->
	<div class="searcont">
	{HD foreach from=$search key=k item=v}
		<ul>
			<li> <a href="" class="title">{HD $v.askcontent}</a> </li>
			<li>{HD $v.ancontent}</li>
			<li class="time"><span>{HD $v.title} - {HD $v.answer}个回答</span> - 提问时间: {HD $v.time|date_format:'%Y-%m-%d'}</li>
		</ul>
		{HD /foreach}

		
	</div>
	<!-- 搜索内容结束 -->

<!-- 底部 -->
	<div id='bottom'>
		<p>Copyright © 2013 Qihoo.Com All Rights Reserved 廖东廷</p>
		<p>京公安网备xxxxxxxxxxxx</p>
	</div>
<!--[if IE 6]>
    <script type="text/javascript" src="{HD $smarty.const.__PUBLIC__}/Js/iepng.js"></script>
    <script type="text/javascript">
    	DD_belatedPNG.fix('.logo','background');
        DD_belatedPNG.fix('.nav-sel a','background');
        DD_belatedPNG.fix('.ask-cate i','background');
    </script>
<![endif]-->
</body>
</html>
<!-- 底部结束 -->